package com.mooc.ppjoke.ui;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.navigation.fragment.NavHostFragment;

import com.mooc.ppjoke.ui.my_view.WindowInsertFrameLayout;

import org.jetbrains.annotations.NotNull;

/**
 * @ClassName: WindowInsetsNavHostFragment$
 * @Description: java类作用描述
 * @Author: 魏靳元
 * @CreateDate: 2022/8/24 13:54
 * @UpdateRemark: 更新内容
 * @Version: 1.0
 */
public class WindowInsetsNavHostFragment extends NavHostFragment {
    @Nullable
    @org.jetbrains.annotations.Nullable
    @Override
    public View onCreateView(@NonNull @NotNull LayoutInflater inflater, @Nullable @org.jetbrains.annotations.Nullable ViewGroup container, @Nullable @org.jetbrains.annotations.Nullable Bundle savedInstanceState) {
        WindowInsertFrameLayout layout=new WindowInsertFrameLayout(inflater.getContext());
        layout.setId(getId());
        return layout;
    }
}
